<?php


//$xml = tmxTranslate('inscription.xml', REP_XLAT_TEMPLATE);

$tpl_file='inscription_contact.tpl';
$inscription_contact = new flyLayout(REP_TPL . $tpl_file);
$inscription_contact->start();

	//$inscription_contact->setVariable('email_check', $country->public_email==''?'checked="checked"':'');
	$inscription_contact->setVariable('login_user',isset($_POST['login_user'])?$_POST['login_user']:'');
	$inscription_contact->setVariable('phone_number',isset($_POST['phone_number'])?$_POST['phone_number']:'');

	$listPhone = modelUser::getListPhoneLanguageDefaulf(LANGUAGE_PHONE_SPEAK_DEFAULT);
	foreach($listPhone as $k => $phone){
		$phone_name = 'language_'.$_SESSION['language_code'];
		$inscription_contact->setVariable('name_phone_language',$phone->$phone_name);
		$inscription_contact->setVariable('id_phone_language',$phone->id_country_language);
		$inscription_contact->parseList('list_phone_language');
	}
	//$inscription_contact->setVariable('rep_ajax', REP_AJAX);

$inscription_contact->stop();

?>